package cn.schoolwow.ams.domain.block.list.dao.crud;

import cn.schoolwow.quickdao.domain.database.dql.condition.Condition;
import com.alibaba.fastjson.JSONObject;

public interface DatabaseListBlockDeleteListener {
    /**
     * 删除实体类之前
     * */
    void beforeDelete(Condition condition, JSONObject amsListCondition) throws Exception;

    /**
     * 删除实体类之后
     * */
    void afterDelete(Condition condition, JSONObject amsListCondition) throws Exception;
}
